﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Duck : Animal, ISwim
    {
        public void Swim()
        {
            Console.WriteLine("我会划水游泳");
        }
        public override void AnimalEat()
        {
            Console.WriteLine("我喜欢吃饲料");
        }
    }
}
